package org.springframework.security.oauth2.provider;

import org.springframework.security.oauth2.common.exceptions.InvalidScopeException;
import org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint;
import org.springframework.security.oauth2.provider.endpoint.TokenEndpoint;

@Deprecated
public interface OAuth2RequestValidator {

    void validateScope(AuthorizationRequest authorizationRequest, ClientDetails client) throws InvalidScopeException;

    void validateScope(TokenRequest tokenRequest, ClientDetails client) throws InvalidScopeException;

}
